Flatten a list of lists in C#

49

Flatten a list of lists in C# -

var list = listOfLists.SelectMany(d => d.InnerList).ToList();

Comments

Submit
0 Comments